ex
x2
x3
logx
Since the energy is conserved in an SHM, the loss in kinetic energy is equal to the gain in potential energy.Thus, loss in kinetic energy∝x2.