Hi,
58 students
25 are sophomores,
34 are history majors
11 are neither.
58-11 = 47
59 - 47 = 12
12, both soph and history majors
13 sophmores only
22 history majors only
P(soph & H maj) = 12/58 = 6/29
P(soph, given H maj) == 12/22 = 6/11 |P(A|B) = P(A and B)/P(B)