Calculate Difference of Squares