Let x = amount of time that it takes to do the job if both machines are working together
Each minute, the first machine does 1/15 of the job and the second does 1/10 of the job
So, 1/15 + 1/10 = 1/x
Multiply the equation by the LCD, 30x, to obtain:
2x + 3x = 30
5x = 30
x = 6 minutes