What would you do if you quit your job?

Literal

By-chance work [object-を] quit-[conditional-たら], how do-[question-か]?

勤め is a noun form of 勤める ('to work at/serve at'), meaning 'work, employment, service.' A slightly more formal word than 仕事 for 'job.' やめる takes the quit thing with を.