Avoiding repetition

Replace the slider with a Series for the ‘x’ input.

series
series2