Do you have a protractor? You’ll need one measure the angles.
Swap x and y, f^-1 is and solve for y to get f^-1 the inverse of f. f(f^-1)=f^-1(f)=x is the identity as a check
f(2)=3*2+1=7 (2,7)
f^-1(7)=2 (7,2)
They are because 2.7 squared + 3.6 squared = 4.5 squared (=20.25)
Pythagoras Theorem is that a squared + b squared = c squared
So the 2 smallest numbers squared will equal the larger one squared if it is a pythagoreom triple