How much to feed?

Hello, hopefully everyone is having an amazing day. I am getting started on TCPD for my furbabies. I have questions about how much to feed Pillow & Elton and how often. Pillow is 13 years old, he is a Havenese and he needs to gain a little weight, his current weight is 18 pounds. Elton is a Maltese, he is 8 years old, 14 pounds and he needs to loose weight. I would greatly appreciate any input. I want to make sure that they are fed appropriately. Thank you in advance. Good day