@22990atinesh,
The more general answer is that if
x is directly proportional both to
a and to
b, then holding
a constant, varying
b produces a straight line graph for
x against
b (and vice versa). This would not be the case if
a and
b were added, only if
a and
b were multiplied.