To find the average you just add the numbers and divide by the amount of numbers you added up.
(292 + 305 + 415 + x)/4 = 343
(1012 + x)/4 = 343
Now multiply both sides by 4.
4(1012 + x)/4 = 4(343)
1012 + x = 1372
Now subtract 1012 from both sides.
1012 + x - 1012 = 1372 - 1012
x = 360