This says the new average of 3.54 is the weighted average of 4.2 for the first 15000 views and r for the last 350 views. Solving,
which isn't possible. So if you have given us accurate numbers, then there is an error in the calculations for the web page.
Modify the last formula to calculate the average rating for the last few views.