prob 4b plot