Okay, here we have this:
Considering the provided information, we obtain the following system of equation, let's solve it:
Adding the equations:
Now, let's replace this value in the first function to find the value of x:
Finally we obtain that 4 people can sit at each table and 6 people at each booth.