To solve this problem we will use Newton's second Law which describes the Force applied to a body as a function of mass and acceleration.
For this purpose we have to

Where,
m = mass
a = acceleration
The net force would then be given by the mass of
and the acceleration of
, then,


The net force acting on the box is 18N