Answer:
The mass of both masses are 0.923 kg and 1.38 kg.
Step-by-step explanation:
Given that,
Upward force = 30 N
Acceleration = 3.2 m/s²
Tension in string= 18 N
We need to calculate the mass of first mass
Using balance equation

Where, m = mass
F = force
T = tension
a = acceleration
Put the value into the formula



We need to calculate the mass of second mass
Using balance equation


Put the value into the formula


Hence, The mass of both masses are 0.923 kg and 1.38 kg.