You can put this solution on YOUR website! Let y = size of unknown side. , because the diagonal is the hypotenuse of the triangle with the legs, 40 and y.
which is simplifiable as --------- Do you recognize why?
Solved for y is the main missing piece to finding the answer to the actual question, which I now leave for you to finish.