Plane speed is 135 km/h and wind speed is 23 km/h
Your equations:
P
+
W
=
158
k
m
h
(Flying to Kampala with a tailwind)
P
−
W
=
112
k
m
h
(Flying from Kampala against wind)
Combine these two equations to get plane speed (W):
2
P
=
270
or
P
=
135
k
m
h
For wind speed you can use either the first or the second equation
P
+
W
=
158
W
=
158
−
P
W
=
158
−
135
W
=
23
k
m
h
This is wind speed (assuming constant).