Answer: acceleration = 0.33m/s² to the right.
Explanation: when two forces act in opposite direction along same axis thier resultant direction is always with that force of higher magnitude in this case 20N
Resultant force F = -5N + 20N = 15N to the right.
But
F = Mass * acceleration
acceleration = F/ mass
= 15N/45kg
= 0.33N/kg
Which is also 0.33m/s² to the right.