I think it's confusing to have both equations as they don't agree - I think only the second should be shown.