you’re using fx-82AU right? press MODE SETUP, then STAT, then press 2 (for A+BX). Then input all your x and y values. Once you’re done, press AC, then SHIFT+1, then 5 (for Reg), then select whichever variable you need (a b r etc.), then press =.
I think this is what you’re after