Angles A and P are marked congruent; angles B and Q are marked congruent, so the triangles are similar by the AA similarity postulate. The similarity statement can be written ...
ΔABC ~ ΔPQR by AA similarity
__
The ratio of sides of PQR to ABC is the ratio QR/BC = 12/6 = 2. That is, each side in the larger triangle is 2 times the length of the corresponding smaller side.