Divide the number of homes by the sample size:
500 out of 1200 houses = 0.4166
Now find the sample proportion:
p(1-p)/n = 0.4166((1-0.4166)/1200)= 0.0002
Take the square root: √0.0002 = 0.014
Multiply that by the Z value for 95% which is 1.96:
1.96 x 0.014 = 0.028 x 100 = 2.8%
The confidence interval is the percentage of homes from above ( 0.4166 plus and minus the sample proportion:
0.4166 - 0.028 = 0.3886
0.4166 + 0.028 = 0.4446
[0.3888, 0.4446]