Word Problem on Weighted Average