The sides of the triagle have lengths:
1.1 p + 9.5 q
4.5 p - 5.2 r
5.3 r + 5.4 q
Or:
1.1 p + 0 r + 9.5 q
4.5 p - 5.2 r + 0 q
0 p + 5.3 r + 5.4 q
If we want to calculate the perimeter of the triangle, we just need to sum the three lenghts:
(1.1 + 4.5) p + (-5.2 + 5.3) r + (9.5 + 5.4) q
= 5.6 p + 0.1 r + 14.9 q