Using Statistics Made Easy at https://www.tinspireapps.com/?a=SPME and menu item
Linear Regression you just type in the given x and y values. Next the linear regression is computed for you along with the Correlation Coefficient and the Coefficient of Determination.
That simple.