Ex5: new polynomial regression solution