A triangular prism of mass M with a block of mass m placed on it is released from rest on a smooth inclined plane of inclination θ. The block does not slip on the prism. Then: