.
Under the link, I see a sinusoid of the amplitude of 2 units, with the period of 6 units,
shifted 1 unit right and with the zero vertical shift.
Its equation is
y = f(x) = = .
Factor "2" before the sine function makes the amplitude.
Factor (x-1) in the argument makes the shifted argument.
Factor = makes the necessary period.
Solved and explained.
In the Internet, there is free of charge online plotting tool
https://www.desmos.com/calculator
where you can check your own different formulas and see, which of them is/(produces) a correct plot / solution.