Let Andrew be A and let Bailey be B
Andrew is 6 times as quick as Bailey

When they worked together, it took them 5 days to paint the house.

If Bailey worked alone, she would take a much longer time

Since Andrew is 6 times as quick as Bailey,

Andrew would take about 5.8 days while Bailey would take 35 days.