Caden earned $24 for cleaning his neighbor's house 6 times. If Caden charged the same rate and earned $40, how many times did he clean his neighbor's house? Use a unit rate to find the unknown value.