homework in regression applications and forecasting in engineering 1

I have two problems homework in Regression Applications and Forecasting in Engineering. The problems will be attached and a resource will be provided when accepting the question