If you look more closely, you can see that they're in a car, with one girl in the front passenger seat, and the other in the back.
The seat back looks odd for a car. That's why I thought it might be the seat back of an amusement ride that has a front and back seat.