Your dog is 8 years younger than your friend. In 2 years, your friend will be three times as old as your dog. How old is your dog now?