<image>Using m matches, one can form x squares as shown in Figure 1. It is also possible to form 2y squares as shown in Figure 2. Express y using an algebraic expression that contains x. The result is ____.