We will traduce the sentences into equations. Let x be the number of hours in the first job, and y be the number of hours in the second job. Then the equations are:
The above system has many solution, we can select for example: x = 1, y = 16. So we can work one hour at the first job and 16 hour at the second job.