we are given
Hao dog ate 40 cans of dog food in 31 days
it means that
![31 days =40 cans](https://img.qammunity.org/2019/formulas/mathematics/middle-school/pnswnei8p1itrmi04dkv08zxuwubmfqg4z.png)
Firstly, we will find for 1 day
we can divide both sides by 31
![(31)/(31) day=(40)/(31) cans](https://img.qammunity.org/2019/formulas/mathematics/middle-school/5868l2twkp01v239nqwfmca25hb2ol25s1.png)
![1 day=(40)/(31) cans](https://img.qammunity.org/2019/formulas/mathematics/middle-school/a2lp1ezwfg98dey5znexek2oyv3dh2inbs.png)
now, we can multiply both sides by 6
![6*1 day=6*(40)/(31) cans](https://img.qammunity.org/2019/formulas/mathematics/middle-school/jnayk1s4exhjtosb9djdnjsf0xxkknwvna.png)
![6days=7.74194 cans](https://img.qammunity.org/2019/formulas/mathematics/middle-school/qc6aq0rrg8wcse5d1nziucawghmtygc5jp.png)
so,
Hao buy to feed his dog for for the next 6 days is 7.74194 cans.......Answer