Dividing my dogs age by 4 and adding 6 is the same as dividing my dogs age by 8 and adding 8.

X/4 + 6 = X/8 + 8

How old is my dog?