It takes Sally 4 hours, so she paints 1/4 of the house per hour.
John paints 1/6 of the house per hour.
Turn that into 12ths so you can compare and you get Sally painting 3/12 per hour, and John 2/12 per hour. So together they paint 5/12ths per hour.
That means it takes them 2 hours to paint 10/12ths of the house. Now you just have to figure out how long it takes them to paint the last 2/12ths. Since they do 5/12ths per hour, it takes 2/5ths of an hour to do 2/12ths of the house.
1/5th of an hour is 12 minutes. So 2/5ths is 24 minutes. Thus 2hrs and 24 min to paint the house.
John paints 1/6 of the house per hour.
Turn that into 12ths so you can compare and you get Sally painting 3/12 per hour, and John 2/12 per hour. So together they paint 5/12ths per hour.
That means it takes them 2 hours to paint 10/12ths of the house. Now you just have to figure out how long it takes them to paint the last 2/12ths. Since they do 5/12ths per hour, it takes 2/5ths of an hour to do 2/12ths of the house.
1/5th of an hour is 12 minutes. So 2/5ths is 24 minutes. Thus 2hrs and 24 min to paint the house.