which t statistic formula?

when they ask one to calculate the t statistic, when does use b/s and when does one use r*sqrt(n-2)/sqrt(1-r2)?

That last formula is only for testing whether the _ correlation coefficient _ is significantly different from zero.

Also, pretty sure the last formula is ONLY for linear regression.

Correct.