strafe movement

trying to solve this too myself. Anyone have any idea?