for (1) :

find the point on the curve with slope = -2, then find the equation of the line through that point with slope = 1/2

for (2) :

same strategy ... find the point on the curve with slope = -1/2 , then find the equation of the line through that point with slope = 2.