I did not understand how you derive the equation