# data[].attributes.body
3x+2 = y

# data[].attributes.body
3n+2

# data[].attributes.body
Tables | People
1 | 5
2 | 8
3 | 11
4 | 14
5 | 17
6 | 20
7 | 23
8 | 26
9 | 29
10 | 32
11 | 35
12 | 38
13 | 41
14 | 44
15 | 47
16 | 50
17 | 53
18 | 56
19 | 59
20 | 62

# data[].attributes.body
4(2) + 3(n -2)

The two end tables will have 4 people at them.  This is not affected by the total number of tables, so it does not have a variable with it making a constant of 8.  4(2)

In between the two end tables there will be two less tables than total tables.  There will be three people at each of the middle tables.  3(n -2)

This expression does not work with one table because it is based off of there being two end tables.  Therefore, n > 1 is necessary

# data[].attributes.body
Table:

# tables   # people

1 | 5
2 | 8
3 | 11
4 | 14
5 | 17
6 | 20

# data[].attributes.body
Rule: y = 3x + 2

Rule: (n-1) x 3 + 5 = s

# data[].attributes.body
3x + 2