Alex earned $7 per hour at his job plus an additional $50 in tips on Friday. He earned less than $99 total. Write and solve an inequality to determine how many hours Alex worked that Friday.