Divide a line in a ratio | StemPy Lab