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

X: Would you drive 30 minutes to work?
Y: If the pay was worth it.