Reposition Edge without Deforming

Just started using Blender, the first thing I’m playing around with is trying to make isometric style landscapes for a tactics game. Anyway the best way I can think to describe my question:



I have this the first one, if I translate the front middle edge I get the second one, and I want the third one.

Thanks

X to delete edges
F to create a face

Ok great, thank you