Plumber X charges a flat rate of $41.00 for a visit. Plumber Y charges no flat rate but charges $46 per hour. The total amount they both earned is $732.00. If Plumber Y works for 7 hours, how many visits did Plumber X make?