We have hostas (H) and shrubs (S).
Let H be the price of the hostas and S the price of the shrubs.
Then, as Eduardo spent $39 on 4 hostas and 3 shrubs, we can write:
For Dan, who bought 1 hosta and 9 shrubs and spent $84, we can write:
Then, we can clear H from the last equation and replace it in the first one:
Then, knowing that the price of the shrubs is S=9, we can calculate H: