The formula to calculate an average score is the following
[tex]A=\frac{\sum ^{}_{}a_i}{n}[/tex]where ai represents each individual grade, and n the number of values
Mahdi already has 5 grades: 92, 89, 85, 89 and 90
He will take a test that counts as 2, therefore the number of values will be 7
Since he needs to get a grade of 90 or higher for the semester, A = 90
Let's replace the above
[tex]90=\frac{92+89+85+89+90+2F}{7}[/tex]where F is his grade on the final exam, which is worth double
Now, let's solve for F. I will show you the steps:
[tex]\frac{92+89+85+89+90+2F}{7}=90[/tex][tex]\frac{7\left(92+89+85+89+90+2F\right)}{7}=90\cdot\: 7[/tex][tex]445+2F=630[/tex][tex]2F+445-445=630-445[/tex][tex]2F=185[/tex][tex]\frac{2F}{2}=\frac{185}{2}[/tex][tex]F=\frac{185}{2}[/tex]Thus, the minimum score must be at least 92.5