Put these three boxes in a single row and make them equal in size.
Center this image horizontally and vertically in the blue box.
Put the blue box in the top right corner of the green box. And the red box in the bottome right corner of the green box.