Show me your work. I don't understand what x-b means.

This seems to be a straightforward test of the difference between two proportions.

vs.

The test stat is

where is the pooled sample estimate of the common p.

Use the two sided standard normal distribution for your rejection region.

I can't believe how nice that Tex came out.