Square $PQRS$ lies in the first quadrant. Points $(2,0), (5,0), (7,0),$ and $(13,0)$ lie on lines $SP, RQ, PQ,$ and $SR$, respectively. What is the sum of the coordinates of the center of the square $PQRS$?
As in the problem, let $SP: y=m(x-2)$ and $RQ: y=m(x-5)$ be the parallel pair; then $PQ: x+my=7$ and $SR: x+my=13$ are perpendicular to them.
The distance between $SP$ and $RQ$ is $\frac{3|m|}{\sqrt{1+m^2}}$, and the distance between $PQ$ and $SR$ is $\frac{6}{\sqrt{1+m^2}}$. In a square they are equal, so $|m|=2$; the square lies in the first quadrant, so $m=2$.
The center lies on the midline $y=2(x-\frac72)$ of the first pair and on the midline $x+2y=10$ of the second pair. Solving, $x+4x-14=10$, so the center is $\left(\frac{24}5,\frac{13}5\right)$.
(Check: $P=(3,2)$, $Q=(\frac{27}5,\frac45)$, $R=(\frac{33}5,\frac{16}5)$, $S=(\frac{21}5,\frac{22}5)$ all lie in the first quadrant.)