Moving forward/strafting while turning for X drive

Any heads-up on how to program those linear while turning movement programs for X drives?