Here are your equations

if you wan't to modify, save with same name