[tex] PQ^2 = PR \times PS [/tex]
[tex] (4x + 4)^2 = (3x + 3)(3x + 3 + 21) [/tex]
[tex] 16x^2 + 32x + 16= (3x + 3)(3x + 24) [/tex]
[tex] 16x^2 + 32x + 16= 9x^2 + 81x + 72[/tex]
[tex] 7x^2 - 49x- 56 = 0 [/tex]
[tex] 7(x^2 - 7x - 8)= 0 [/tex]
[tex] (x - 8)(x + 1) = 0 [/tex]
[tex] x - 8 = 0~~~or~~~x + 1 = 0 [/tex]
[tex] x = 8~~~or~~~x = -1 [/tex]
x = -1 makes the lengths of segments PQ and PR equal zero.
That is not possible, so the solution x = -1 is discarded.
x = 8
PS = 3x + 3 + 21
PS = 3x + 24
PS = 3(8) + 24
PS = 24 + 24
PS = 48