Just Drag the X and Y sliders to input the values, the bottom left is the answer
Special thanks to my homie @pythagoras for showing me this equation, "A^2+B^2=C^2" all credit goes to him That was a joke btw