Step-by-step explanation:
Using F = m a
Tension when not moving =
top rope = (6 + 12 ) kg * 9.81 m/s^2 = 176.58 N
bottom rope 12 * 0.81 = 117.72 N
When accelerated upwards at 2 m/s^2 this adds to the usual acceleration of 9.81 m/s^2
top rope 18 * ( 9.81+2) = 212.58 N
bottom rope = 12 * ( 9.81 +2 ) = 141.72 N