A red square and a blue square of side $s$ are overlapping so that the corner of the red square rests on the centre of the blue square.