m is 48 because since they said perimeter you would have to add 3 twice and then subtract is with 102 which is 96 the divide 96 by 2 and you would get 48.
Using the Pythagorean theorem you would find X by taking the square root of the base squared (Y^2) subtracted from the hypotenuse squared ( 10^2 = 100)