We want to find the length of PT.
From the figure [given T is midpoint of PQ], we can write:
We are given expressions for PT and TQ, we know they are equal. Thus, we can equate them and solve for x.
The length of PT is "3x + 8". We know x = 7, so we can figure out the length of PT: