ken has some ducks and dogs in his backyards. There are 45 heads and 130 legs all in all. How many ducks are there? How about dogs?​