Do my tires fit my rims?

Hello first of all, oh man.. I have no idea about cars and now have a maybe somewhat embarrassing but urgent question: I have tyres and rims at home – but don’t know if the two of them fit together. 😉 My tyres: 235/40/ZR17 and my rims – yes, there’s nothing on it, BUT the following winter tires are mounted on them at the moment: 225/45/R17 Do you think that my summer tires fit on my rims??? Please urgently for answers. el/assembly date and would like to know beforehand if everything is going smoothly. Not that they still laugh at me from the workshop… 🙂 THANK YOU!