Marie is a waitress. She earns an hourly wage plus tips. Over the course of three days, she earned a total of $190 and at an average of $10 per hour. If Marie worked 4 hours on Monday and twice as many hours on Tuesday, how many hours, x, did she work on Wednesday?