My dog carer has a cat, they only met each other when they were four and six and now they’re really good friends, I’m sure your pets will get along perfectly, Nashi.
When petting or hugging dogs, make sure you don't look "above" them. They tend to get scared if you pet them while looking down on them. Slowly kneel down and let them sniff you before petting them. Dogs are very friendly and forgiving animals so don't let fear get in the way of making friends with 'em.