Doubt by

How can we derive the equation from equations of motion? Give me a prove.