Step-by-step explanation:
a) if theya re OPPOSITE then the wind speed subtracts from the airplane's speed ( a headwind) sooooo 120 - 90 =  30 km/hr 
b) if the two speeds are perpendicular , you can use Pythagorean theorem:
 R^2 = 120^2 + 90^2 
  R = 150 km/hr