Combination of both parallel and perpendicular line equations