貝茲曲線
we split the Bézier curve into three separate equations