Ali's Coffee Shop makes a blend that is a mixture of two types of coffee. Type A coffee costs Ali per pound, and type B coffee costs per pound. This month, Ali made pounds of the blend, for a total cost of . How many pounds of type B coffee did he use?