I want to have my book signed by the author. My friend also wants his book signed by the author. I present both books to the author and say...

"Could you please sign mine and John's books?" or "Could you please sign my and John's book?"

Which is correct and what is the rule?

Many thanks
Dan