Diagonal line math.