This is how the ending goes in Weekenders Adventures of Transformers: Revenge of the Fallen.
[Everyone is save, as Optimus Prime walks up]
Ryder: We did it!
Mikaela: Took all this for you to tell me that you love me.
Sam: You said it first.
Optimus Prime: Thank you, Sam. For saving my life.
Sam: Welcome. Thank you for believing in me.
Optimus Prime: [narrating] Our races united by a history long forgotten, and a future we shall face... together. I am Optimus Prime. And I send this message so that our pasts will always be remembered. For in those memories, we live on.