if you total is 420 and registration is 30 for you and your friend registration would be 60 so subtract 420 by 60
[tex]420 - 60 = 360[/tex]
since the monthly fee is 20 divide 360 by 20
[tex]360 \div 20 = 18[/tex]
So both people payed for 18 months. Which is a little over a year.
Hope this helped!