Create square equalation