In a garden, the total number of flowers is represented by the expression 3x + 2y, where x is the number of red flowers and y is the number of blue flowers. If there are 5 red flowers and 4 blue flowers, what is the total number of flowers in the garden?