In Figure 9-69, block 1 of mass m1 slides from rest along africtionless ramp from height h and then collides with stationaryblock 2, which has mass m2 = 3m1. After the collision, block 2slides into a region where the coefficient of kinetic friction isμk and comes to a stop in distance d within that region. What isthe value of distance d if the collision is (a) elastic and (b)completely inelastic? Express your answer in terms of the variablesgiven and g.