A dog is chasing a cat towards a tree. The cat has a 10-meter lead and runs at a speed of 6 meters per second. The dog runs at a speed of 8 meters per second. The tree is 30 meters away from the dog’s starting position. Which animal will reach the tree first