Javier rode his bike for a total of 41 minutes.  Before lunch, he rode 1 minute less than 5 times the number of minutes he rode after lunch. How many minutes did Javier ride before lunch?