solved cubic bezier equiation