Suppose car A is moving with a velocity Va, and car b with a velocity Vb,
According the principle of conservation of momentum:
Va x Ma + Vb x Mb = (Ma + Mb) V
V = (Va x Ma + Vb x Mb)/(Ma +Mb)
V = speed of cars after coupling
V = (Va x 20 mg + Vb x 15 mg)/(20 mg + 15 mg)
Put in the values of Va and Vb, and get the V
She does 200J .
We know she uses 20N of force and 10m is the distance. We multiply both numbers and we are given our answer of 200J. Hope this was helpful. :)