Context: Y has just told X that he/she is considering switching his/her job.

X: Do you want to work closer to home?
Y: I would if I could