looking at the squares does x=2y?
It is so long since I have done shape at this level
No, x != 2y.
If you can't see how to do it, read on:
The shape is made up of a central rectangle, with congruent triangles to the left and right.
The diagram is drawn on a squared background and we can see that x = 4 squares. The height of the hexagon is 8 squares (= 2x) so the area of the central rectangle = 2x * x = 2x^2.
The width of each triangle is 4 squares = x, so the area of each triangle = 0.5bh = 0.5 * x * 2x = x^2. There are 2 triangles so they contribute 2x^2 to the whole area, and adding the area of the central rectangle, we get 2x^2 + 2x^2 = 4x^2.