Equation of straight line can be written as : y = mx + c, where m is the slope or gradient and c is a constant.
Do you know the relation of the slopes for the lines which are :
1. parallel ?
2. perpendicular ?
If you've figured out the relation, you can find the slope needed, then substitute it to the equation of the line along with the coordinate given to find c. So, you'll have the answer