Using generating functions, find a formula for the number of different types of fruit baskets containing n pieces of fruit chosen from pomegranates, bananas, apples, oranges, pears, and figs that can be made subject to the following restrictions: there are either 0 or 2 pomegranates, there is at least one banana, the number of figs is a multiple of 5, there are at most 4 pears, and there are no restrictions on the number of apples or oranges. How many ways are there to form such a fruit basket with n = 25 pieces of fruit?