Literally have no clue how to do the heart beat please help

Step-by-step explanation:
To find the rate, divide the number of heartbeats by the number of seconds.
You: 22 beats / 20 seconds = 1.1 beats per second.
Friend: 18 beats / 15 seconds = 1.2 beats per second.