Explanation:
your question is strange.
first you tell us that 50 people like coffee, 25 like tea, and 13 like both.
and then you ask how many like coffee or tea or both.
is this a joke ? or do you rather mean how many like only coffee, or only tea, and how many don't like neither ?
since 13 people like coffee and tea, these 13 are also part of the group of 50 that like coffee, and of the group of 25 that like tea.
so, to get the number of people that like only one, we need to deduct the number of people, who like both from both groups.
the number of people that only like coffee is therefore
50 - 13 = 37
and the number of people that only like tea is
25 - 13 = 12
we know the number of people that like coffee and tea is 13.
together that are
37 + 12 + 13 = 62 people.
that means 70 - 62 = 8 people don't like neither coffee nor tea.