Deliveroo interview question

How would you extend your (coding test) solution to do X?