Origin in coordinates graph is (0,0) because The origin is the point where the x and y axis intersect.Since you know that, if your finding which one is closer to the origin, you need to find distance between the point and the origin. So, you plug the two distance in the distance formula. Then plug in the values
D(Q to Origin)= √ [(0-35)^2+(0-(-43)^2] √(-35^2+43^2)=55.4436651 D(P to Origin)= √[(0-(-24)^2+(0-56)^2] √(24^2)+(-56^2)=60.92618485