How do I code this?

so, i am assigned to make as shown in the photo where each spinner is a different subject. if i choose a certain subject, the question for each subject will pop out and i will be able to answer it on the text box below and check my score when i click submit button below.
the thing is, my teacher didn't teach the whole class how to do it so it will be amazing if anyone can help!! thank youu