You know that 4 out of 10 adults buy their drugs at large drug stores. To calculate the value of the proportion you have to divide 4 by 10

The city has n=34,000 adults, to determine the expected number of adults that buy at large drugstores, you have to multiply the total number of adults by the proportion:

n=34,000 and p=0.4

Out of the 34,000 you could expect 13,600 adults to buy at large drug stores.