we have the function

Part 1
we have that
For g(x)=232 frogs
Find out the value of x
substitute in the given function
![\begin{gathered} 232=21\operatorname{\log}_2(x+1)+85 \\ 232-85=21\log_2(x+1) \\ 147=21\log_2(x+1) \\ (147)/(21)=\log_2(x+1) \\ \\ 7=\log_2(x+1) \end{gathered}]()
Apply property of logarithms

therefore
The answer Part 1 is 127 weeks
Part 2
For x=140 weeks
substitute in the given function g(x)
![\begin{gathered} g(x)=21\operatorname{\log}_2(140+1)+85 \\ g(x)=21\log_2(141)+85 \end{gathered}]()
change the base of the logarithm
Remember that

substitute

therefore
The answer Part 2 is 235 frogs