Understand spoken Thai

I didn’t ask whether he can do it or not.

ผมไม่ได้ถามว่าเขาทำได้หรือเปล่า