Least squares line of regression

Hi folks, not sure I'm in the right topic but here goes. Im massively stuck on working out this least sqaures line of regression question, any help will be greatly appreciated (im using E is my symbol as I have no idea how to type the correct one! and ^2 means sqaured)

EX=63 EY=2340 EX^2=535 EXY=19792 EY^2=752388

Calculate the least squares line of regression of Y on X in the form Y=a+bX and the correlation coefficient r. Show your working.

I have the following formula but it doesnt seem to work and gives me a high figure of something like 35.09. (n = 8 by the way!)

nExy-ExEy / nEx^2-(Ex)^2

Please help guys!