Apples cost $2 each. One apple costs $2, two cost $4, three cost $6. Divide cost by apples in any row and you get 2: that constant is k, the cost per apple. So cost =2× apples, or y=2x. Buy no apples and you pay nothing, so the graph starts at the origin.
Because y=kx, any change in x is matched by the same multiple in y. Double the apples and the cost doubles; buy a third as many and the cost is a third. The graph is a straight line through (0,0) with slope k: each step of 1 to the right climbs exactly k.
A gym that charges a $20 sign-up fee plus $15 a month also makes a straight line, but not a proportional one. One month costs $35 and two months cost $50, so the cost per month is $35 in the first case and $25 in the second: the ratio is not constant. Doubling the months does not double the cost, and zero months still costs $20, so the line misses the origin.
To test a table, divide y by x in every row. If every quotient is the same, the relationship is proportional with that k. Both quantities growing together is not enough; the ratio has to stay fixed.
Think of it like this. Proportionality is a gas pump. The meter starts at zero and the price per litre never changes, so 20 litres cost exactly twice as much as 10. If the pump added a fixed fee before the first litre, that doubling rule would break, and the relationship would only be linear.
Core idea. Two quantities are proportional when one is always a fixed number times the other.