x - price for the bench,
then
x+94 is the price for the table.
Both cost 794:
x + (x+94) = 794,
We solve for x:
2x + 94 = 794,
2x = 700,
x = 700/2
x=350.
The cost for bench is 350.
The cost for table is
350 +94 =444.