test y=ax^n and y=Ae^kx

1). i need to investigate a power model in the form y=ax^n by plotting my raw data and log x vs log y

2). i need to investigate a exponential modle in the form y=Ae^kx by plotting the raw data and x vs log y

i now need to use graphs and correlation coefficients to determine the equation of the model that fits your Data.?????

how do i find the equation... my text book only gose briefly and i missed the class due sports, i asked my teachers and friends but they only confused me more.

thank you for the fast help