convert polar lines to cartesian lines and find line intersections