Answer
given,
before collision
mass of car A = m_a = 1300 kg
velocity of car A = v_a = 35 mph
mass of car B = m_b= 1000 kg
velocity of car B = v_b = 25 mph
after collision
V_a = 30 mph
V_b = 31.5 mph
Initial momentum



final momentum



here initial momentum is equal to the final momentum of the car.
hence, momentum is conserved in the collision.