Let, number of games played is n and sum of their points are x.
So,
Now, In his next game he obtained a score of 199, which caused his average to increase to 178.
Now equations are :
x = 177n ...1)
x + 199 = 178( n + 1 )
x = 178n - 21 ...2)
Solving eq 1 and 2 , we get :
x = 3717 and n = 21 .
Now, new average is 183.
Let, point scored in last game is y.
So,

He required 492 points which is greater than the maximum i.e 300.
Therefore, it is not possible for Fred.
Hence, this is the required solution.