Wrapper for a line equation by two given points.