We know that the population is modeled by a linear equation, this means that the model has the form:
![P(n)=mn+b](https://img.qammunity.org/2023/formulas/mathematics/college/qy77xje8utp3xe55gixliwex4c6d7xcnbb.png)
where m is the slope of the linear model and b is the intercept of the model (the initial population). Since the population in week zero is 8, this means that b=8 and we have:
![P(n)=mn+8](https://img.qammunity.org/2023/formulas/mathematics/college/p0aw5yrn0vhc83u0nbsal0aaxqxz2ywmgc.png)
To determine the value of m we use the fact that after 6 weeks (n=6) the population is 26, then:
![\begin{gathered} 6m+8=26 \\ 6m=18 \\ m=(18)/(6) \\ m=3 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/yoc9uptm62sransgblwun2uk8ehi19uwla.png)
hence the slope is 6 (this means that each week there are three more beetles).
Therefore, the model of the population is given by:
![P(n)=3n+8](https://img.qammunity.org/2023/formulas/mathematics/college/4my66xavn9jps0p1dpuvb6jn06i6o64mpq.png)
To determine after how many weeks the population is 74 we equate our expression to 74 and solve for n:
![\begin{gathered} 3n+8=74 \\ 3n=66 \\ n=(66)/(3) \\ n=22 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/wokskm0aexwbry4qzxxh0ufo927io9j6pe.png)
Therefore, it takes 22 weeks to have 74 beetles.