Anyone able to help with a simple smart contract?

My name is Mike, and I want to create a simple smart contract for regular payment distribution.

Smart Contract Payment Distribution

I need to pay on regular basis to several fixed wallets shares of money. Lets say I have 100 coins, I send them to the smart contract, then automatically the smart contract should distribute that like this:

20% to Adam
20% to Eve
50% to Tax
7.3% to Snake
Rest to Donation (everything that’s left)

All of it can be hard coded, only the amount that comes in changes, so I need to calculate in %

Can someone share a template or guide me somewhere I can find one? I used to program in Cobol, C, Pascal, etc., but don’t do that since 25 years anymore. So I will understand code that comes for most part, but it’s hard to get a start.