If you take d5, his king is in check because of your queen , so he has to react to that and can't save his attacked bishop on c6.
my last game

Of course, it’s much better to see the moves during the game instead of after, but that’s a different topic.
There are also tutorial videos to show you how to use this site, like posting your games & the analysis tool & such.
I don’t know how to attach a game to the forum or I would