a dog weighs 8 times as many as his cat. together the two pets weigh 54 pounds. how much does the dog weigh?