Wix Code: Retrieving and comparing data from specific fields in my database collection

Hi,
I’ve bound their input to my dataset. The dynamic page contains four radio buttons each corresponding to an answer, when the user hits submit, which answer they selected is recorded to the database in a field called userAnswer. To simplify things the radio buttons have values 1, 2, 3, or 4 and each question in the database has a field called rightAnswer that contains information on which of the answers is right as a number 1-4.
Once a user input is recorded, I would like to use wix code on the page to retrieve their answer and compare it to the right answer to see if they were right or wrong.
I have attached some photos for clarity, it is a sexual health education quiz.