Let R be the number of feet of Redwood he needs and P be the number of square feet of Plywood.
From store A: 2.59*R + 0.99*P = 2990.26
From store B: 0.99*R + 1.09*P = 2879.16
From B: R = (2879.16 - 1.09*P)/0.99 ...(C)
Put this into A: 2.59*(2879.16 - 1.09*P)/0.99 + 0.99*P = 2990.26
2.59*2879.16/0.99 - 2.59*1.09*P/0.99 +0.99*P = 2990.26
Can you take it from here? (Find P from this then insert the result in C above to find R)
.