The perimeter is the sum of all sides, therefore:
Let:
P1 = Perimeter of the smaller triangle
P2 = Perimeter of the larger triangle
so:
4.5m questions
5.9m answers