A 18 kg object and a 6 kg object are hanging over a frictionless pulley. What is the acceleration of the system to the nearest tenth?

Write the forces:

18*g-6g=(18+6)a
solve for a.