Extended Equations of Long Waves