You can put this solution on YOUR website! If the legs are both 4 it's an isosceles right triangle. The only isosceles rt is a 45 45 90 triangle. The sides of a 45 45 90 triangle are in the proportion x opposite the 45 degree angles and opposite the 90 degree angle.
The sides opposite the 45 degree angles are 4. So the side opposite the 90 degree angle is