The ratio number of pictures to hours is given by
![\text{ratio}=(1)/(8)\frac{\text{ pictures}}{\text{hours}}](https://img.qammunity.org/2023/formulas/mathematics/college/33b82lry14zs7u5yv4ubvombo3xyowgna0.png)
then, we can write
![y=(1)/(8)t](https://img.qammunity.org/2023/formulas/mathematics/college/twjeu7sos5c76bikdz2ubl1w16tsm0q6d6.png)
where t is the time in hours and y is the number of pictures. Now, we know he painted y=6 pictures. then, by substituting this values into our equation, we have
![6=(1)/(8)t](https://img.qammunity.org/2023/formulas/mathematics/college/znj0nskmlr93f84wzs4rtfpd45tyeyx9lp.png)
By multiplying both sides by 8, we get
![\begin{gathered} 6*8=t \\ \text{then} \\ t=48\text{ hours} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/j4mvkvwnib4mywr4y4c7ymzza3p8s2ryov.png)
Then, the answer is 48 hours.