Question 1027140

In a right triangle, the long leg is three times the length of the short leg.  The hypotenuse is the square of the short leg.  Find the exact perimeter and area of this triangle.
<pre>Short leg: {{{sqrt(10)}}}
Long leg: {{{3sqrt(10)}}}
Hypotenuse: {{{10}}}
Perimeter: {{{10 + 4sqrt(10)}}}
Area: {{{highlight_green(matrix(1,3, 15, sq, units))}}}