Carol used 1.8 gallons of paint for barn. She used 1/5 of the remaining paint for a dog house. She had 2/7 of the paint left. How much painted Carol begin with?