Perpendicular lines have opposite, reciprocal slopes, like 3 and -1/3 or 4/3 and -3/4. Plug in the point given and solve for b.
y = mx + b
6 = (-1/7)(-3) + b
6 = (3/7) + b
42/7 = (3/7) + b
b = 39/7
y = (-1/7)x + 39/7
Parallel lines have the saaaaame slope, right? Do the same and I bet you'll get it!