Constraining the intercept to zero

For observations (0,1)(0,1), (1,1)(1,1) and (2,4)(2,4), find the least-squares slope when the fitted line is constrained to pass through the origin.

9/5=1.89/5=1.8. The products xiyix_i y_i sum to 99 and the squares xi2x_i^2 sum to 55.