Table friends(user_a, user_b) stores "a follows b". Find mutual pairs (both follow each other), once each, as user_x and user_y with user_x < user_y.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.