Is Bhagavat Gita tells about one avatar and Shrimad Bhagbatam tells about all the Avatars? 

Are they equivalent to each other or both are different?

Which is first written? 
And when and why the later one is written if both are same?

Are both of the same author?