The previous answer is correct but an easier way to solve it is to divide each side of each equation by the number in front of the parentheses.
9(p-w) = 8460
7(p+w) = 9240
divide both sides of the 1st equation by 9 and both sides of the 2nd equation by 7
p - w = 940
p + w = 1320
add the 2 equations together and w is eliminated
2p = 2260
p=1130
substitute back to find w = 190
the speed of the plane in still air is 1130 km/h and the speed of the wind is 190 km/h