check the picture below.
notice, is just a circle inscribed in a square.
now for the first one, we know the diameter is 14, so the square is a 14x14, and the radius of that is half the diameter or 7.
now, if we get the area of the square, which includes the area of the circle, and THEN get the area of the circle and subtract it from the square's, what's leftover is the shaded section.

now, for the one on the right-hand-side, the radius is 8, and square's area is 16x16,
