to join a gym your friend pays a one-time fee of $75 and $45 per month for the duration of the membership.Your friend has paid a total of $345.How long has your friend been a member of the gym??

2 answers

Assistance needed.
Total=onetime+numbermonths*45

solve for number months