Under her cell phone plan, Nayeli pays a flat cost of $41.50 per month and $5 per gigabyte. She wants to keep her bill under $50 per month. Write and solve an inequality which can be used to determine g, the number of gigabytes Nayeli can use while staying within her budget.