From the problem,
x is the number of quarts of Tuscan sauce and
y is the number of quarts of marinara sauce
We add the following variables
t as the number of tomatoes
c as the number of cups of oil
z is the total profit
The constraints are the following
x = 6t + c
y =5t + 3c
6t + 5t ≤ 45
c + 3c ≤ 10
z = 4x + 5y
where z is to be maximized