Determine an equation for a line that goes through a given point and is parallel or perpendicular to a given line.