Hi,
From the example You have given: L = 50m, width = 20m. Find the length of sloping wall.
Can see that You understand the concept.
Couple of quick ex that come to mind:
Shortest distance between two points: on corner of a block to opposite corner
Swimming diagonally across a pool(L = 50m, W = 20m) :
Ladder resting on a building:
diagonally fencing a portion of a garden.
Things of that nature. good luck!