The triangle with sides 3,4,5 is the smaller triangle, keep in mind Pythagoras theorem a^2 + b^2 = c^2. the hypotenuse is 5 in the first triangle (3^2+4^2=5^2). With that in mind, the second triangle is the same as the first just larger, if we enlarge the first triangle to make the hypotenuse is 20 then we would also increase the other sides by the same ratio (4:1) multiply each side by 4 to get 12, 16, 20 then add together to get the perimeter 48.to test this I can calculate 12^2+16^2=20^2 and I find this to be a true statement because 12^2= 144 and 16^2=256 and 20^2=400, 144+256=400