At the fair

At the fair I bought six pineapples and two jackfruits for $15. If I could have bought four more pineapples for $14 than jackfruits for $9. What would be the price of each?