Element modification

Thanks Sir.
If I replace those two coordinates from the mesh.coordinates() and create mesh from array like this.
How can I replicate it in Fenics.