The law of conservation of momentum tells us that momentum is conserved, therefore total initial momentum should be equal to total final momentum. In this case, we can expressed this mathematically as:
mA vA + mB vB = m v
where, m is the mass in kg, v is the velocity in m/s
since m is the total mass, m = mA + mB, we can write the equation as:
mA vA + mB vB = (mA + mB) v
furthermore, car B was at a stop signal therefore vB = 0, hence
mA vA + 0 = (mA + mB) v
1800 (vA) = (1800 + 1500) (7.1 m/s)
vA = 13.02 m/s