Pythagoras’ theorem (Challenge with decimals)

Kept on this device