How do I move hookups for washer and electric dryer?

How do I move hookups for washer and electric dryer? EDIT: added information and included alternate locations. All of our washer and dryer hookups are located unrealistic, 40″ behind the devices. They’re mounted on exactly what, in the 1940’s, got the surface part of an exterior wall surface of a single story quarters. What’s today …