You can use Pythagoras’ theorem to find the length of the diagonal of the block to be 425cm. This diagonal is simultaneously the hypotenuse of another triangle whose base is 340cm and whose height is the number we are after. Using Pythagoras again we find that the height difference is 255cm.