Which of the following is the equation of a line perpendicular to the line y=-1/3x+1

A. -3x+y=-1
B. 3x-y=-1
C. 3x-y=1
D.-3x-y=1