Write the equation of the following lines.

a) The line is parallel to y=3x+2 and passes through the point (0,0)

b) The line is perpendicular to the graph of y=x+1 and passes through the point (1,1)

Please help me. ASAP!!!