Let a be the number of cups of apples and c be the number of cups of cranberries. An inequality that represents the combinations Phil can use is:
0.6a + 0.4c <= 4.2
This inequality ensures that the cost of the fruit used for the pie is no more than $4.20.