To solve the question, we need to set up a system of equation
For Addison:
A one-time setup fee of $4 means a fixed cost
$19 per box is an additional charge that increases as the number of bor increases
we can get the equation as follow

For Luke:
Shipping fee = $5
Cost per box = $18
Similarly, we can get the equation to be

So we have two equations:

To solve the question, we will substitute the value of T in equation 1 into 2

Simplifying

Thus, they each bought 1 box
To find how much each spent, we will substitute x=1 into the equations

For the second 1

Thus, they both spent $23