Please help me can y’all tell me how to solve it out

Answer:
40in
Step-by-step:
to get from 12 to 30 you multiply by 2.5
this is the scale factor
then you do 16 x 2.5 which is 40
pq (p to q) is 40in