Gabriel gives some chocolates to his brother on his birthday. Each chocolate has two wrappers. Create a function that represents the number of chocolates consumed and the number of wrappers generated, and plot it on a graph.
x | 1 | 2 | 3 |
y | 2 | 4 | 6 |