I need to create stuctured uniform, structuted non-uniform, and unstructured mesh in 2D

To me, it looks like you could use a uniform unit square (consisting of quadrilateral elements), and apply a deformation field to the nodes to get the second and third grid.

I’ve added an explanation on how to move nodes at