awk '$0=$3+($3-$2)**2/($2-$1)'