In that case, add an 's to the noun that comes before the pronoun.
You don't have to add an 's to the pronoun my because it is already possessive without the apostrophe.
Bill's and my cat ate dog food.
The car is Elizabeth's and mine.
Today is Jeremy, Catherine's, and my last day of school.
ANSWER --> a) Mary and John's dog dug up my garden.
Since this dog belongs to both Mary and John, the apostrophe goes only after the noun John.
ANSWER --> b) Dan's and my cat chased their dog.
Since this has a noun and a possessive personal pronoun, the noun Dan needs to have an 's. The possessive personal pronoun my doesn't need an 's because it is already possessive.
We love this program! I cannot tell you how crazy impressed I am by how professional it is.
My kids, who were not looking forward to this at all, went nuts after watching the first video. They loved your energy, and consequently they did not miss a single lesson even though I never reminded them to do anything.