UserTesting interview question

Describe how you would write a test to check this functionality.