desmos length function. There are any references about desmos length function in here. you can look below.