multiply the x and y coordinates in P and Tand equate it the right hand side x and y coordinates respectively.