Ninja gym membership costs $33 per month after an initial membership fee. You paid a total of $338 after 5 months. Write an equation that gives you the total cost related to the months of your gym membership.