A straight line has the same gradient all along its length. The gradient equals vertical rise over horizontal distance. It does not matter which triangle you use. For large triangle it equals 2/8 or 1/4 for smaller one. Both equal 1/4 (last statement)