Answer:
there were 13 dogs with ticks but not fleas.
Explanation:
Let's call the number of dogs with fleas "x" and the number of dogs with ticks "y".
From the information given, we know:
x = 40 (dogs with fleas)
x + y = 75 (total number of dogs)
y = 27 (dogs with ticks)
So, the number of dogs with ticks but not fleas is equal to y - the number of dogs with both:
y - 14 = 27 - 14 = 13
Therefore, there were 13 dogs with ticks but not fleas.