The sample space for tossing 3 unbiased coins contains 8 total outcomes. The favorable outcomes for getting exactly two heads are HHT, HTH and THH, giving 3 favorable outcomes. Using the classical probability formula, the probability is 3 divided by 8.