PR has a midpoint of Q.
So, PQ=QR
Now, substitute
6x+25=16-3x
(add 3x to both sides)
9x+25=16
(subtract 25 from both sides)
9x=-9
(divide both sides by 9)
x=-1
Now substitute x back into PQ and QR
PQ = 6x+25 = 6(-1)+25 = -6+25 = 19
QR= 16-3x = 16-3(-1) = 16+3 = 19
PR = PQ + QR = 19+19 = 38
PR = 38