A membership at a swimming pool costs a flat fee of $100, plus $50 per person. If x stands for the number of people, then the membership cost is modeled by which equation?

y=150x
y=100+50+x
y=100x+50
y=50x+100