Match the answer game

Hi, I’m kind of having some big problems with my work here.

So I have a task that I need to make a game that needs to match the question with the answer by making a line, but I have a bit of a problem, which is that I don’t know how to do it, and I might need someone to tell me the steps I should take to make this kind of game. And my deadline is tomorrow, and I haven’t done anything since two weeks ago. I need this for my summative, or else I get 0 marks or worse.