tangent equations parrallel or perpendicular to ...

ok i have two question's i can't answer;

#1) find the equations of the tangents to the curve that are parrallel to the line with equation

i realise that it being parrallel the gradient would be the same. i also know you can solve these algabraicly just lacking the know how :)

#2) find the equation of the tangent line to the curve with equation that is perpendicular to the line with equation

same sort of deal, i realise it being perpendicular it has the gradient of a normal. don't know how to figure these out algabraicly.

thankin you kind people of math help forum.