The diagram shows a square of area x square units inscribed inside a semicircle and a larger square of area $y$ square units inscribed inside a circle.
What is the ratio $x : y$ ?