Answer :
Hi there!
This is an example of a recoil collision.
Using the conservation of momentum:
[tex]p_i = p_f[/tex]
The initial momentum is 0 kgm/s (objects start from rest), so:
[tex]p_f = 0[/tex]
We are given that the 15 kg block has a velocity of 12 m/s to the left, so:
[tex]m_1v_1' + m_2v_2' = 0 \\\\15(-12) + 18v_2' = 0 \\\\[/tex]
Solve for v2':
[tex]18v_2' = 180 \\\\v_2' = \boxed{10 m/s}[/tex]