I think the book is saying that the height of the ramp and the momentum of the trolley are directly related but not perfectly proportional: meaning that the height of the ramp increasing also increases the momentum of the trolley, but they do not increase in proportional manner (1/1 ratio)