Let 'x' represent the number of baskets and let 'y' be the total cost.
Since the paint costs 14.50 and each basket cost 7.25, then we have the following function:

To find the cost of 4 baskets, we can make x = 4 and solve for y:

therefore, the cost of painting 4 baskets is $43.50