Writing off deductibles in two countries

I run Airbnb in Germany and understand I need to report it in my US tax return.

Both Germany and the USA's return ask for business expenses related to Airbnb.

How do I write off deductibles so I don't get in trouble for claiming them two times in two countries?

 

Thank you!