Functions and scope
Convert the whole minutes into seconds and add the extra seconds.
Examples
Example 1
Input
2 minutes, 5 seconds
Expected output
125
Example 2
Input
0 minutes, 12 seconds
Expected output
12
Hints and solution
Hint 1
Multiply only the minutes by 60.
Reveal worked answer
Return minutes * 60 + seconds. For 2 minutes and 5 seconds, that is 120 plus 5.