How to operate the whole data in table, kinda like Excel

Hi, so have this screen where student put their data in one column table (lets called it data x), they will see it live in the dot plot graph. That much already done thanks to some template.

Now on next page, next screen its pretty much the same things, put data in table, it will show on the graph. But instead of data x, i want them to put in data y where either y=x+k or y=x-k or y=x*k or y=x/k (k is constant value). This is so they can compare the graph with previous screen to observe the changes. So far i tell them to do it manually on this screen which some find it tedious, some misstyping it..

Now i want to improve it make it more practical. Any guide on this. Thanks

Do you want them to choose the value of k? If so, I’d use a math response or slider for that.

I also assume you mean all the y data should be using a single operation? If so, I’d probably use a multiple choice to select which one, and populate a table based on that choice.

It’s also always helpful if you share your activity link so that folks can assist using the variables and such so that they align with what you’ve already built.

Sure the “k” i leave up to them (preferably just 1-9 and not 0), as well as operation whether to add minus times or divide the “k”