Hey, I can't get how to do it.
Any advice will be appreciated.
Thank you



If ^B0 and ^B1 are the least-squares estimates for the intercept and the
slope in a simple linear regression model, show that the least-squares
equation ^y = ^ B0 + ^ B1x always goes through the point (x-bar; y-bar).
Hint: Substitute x for x in the least-squares equation and use the fact
that ^B0 = y-bar ^B1x