Each package of dog treats has 13 treats.

The equation d = 13t, where d represents the total number of dog treats and t represents number of packages, shows this relationship.

If Esther bought 39 dog treats total, how many packages did she buy?

We can use the equation d = 13t to solve the problem.

Given that Esther bought 39 dog treats, we can substitute d = 39 into the equation:

39 = 13t

To solve for t, we can divide both sides by 13:

t = 39/13

Simplifying, we get:

t = 3

Therefore, Esther bought 3 packages of dog treats.