The painter can paint the house in = 40 hours
Her assistant can paint the same job in = 60 hours
Rate at which the painter can do the job is
[tex]rate=\frac{1}{40}\text{ }[/tex]Rate at which the assistant can do the job is
[tex]\text{rate}=\frac{1}{60}[/tex]The both of them can do the job at the following rate
[tex]combined\text{ rate=}\frac{1}{40}+\frac{1}{60}=\frac{60+40}{2400}=\frac{100}{2400}=\frac{1}{24\text{ hours}}[/tex]The both of them will paint the house in 24 hours.