sample size (n) = phat * (1-phat) * (z-critical/margin of error)^2
For part 1 use phat = 0.13. For part 2 use phat = 0.5
z-critical for 98% confidence it z-score at 99 percentile = 2.33
margin of error percent (4%) converted to probability between 0 and 1 (0.04).