Model a line based on point consiting x and y using cartesian system, with that can calculate its length
java version "11.0.12" 2021-07-20 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.12+8-LTS-237)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.12+8-LTS-237, mixed mode)
Gradle 7.1
./gradlew test
./gradlew build
./gradlew run