Tokyo officially became the Japanese capital after Emperor Meiji moved his seat to the city from the old capital of Kyoto in 1868; at that time Edo was renamed Tokyo.
Find equation of the perpendicular to segment joining the points A(0,4) and B(-5,9) and passing through the point P. Point P divides segment AB in the ratio 2:3.