A company produces a blend of two ingredients, A and B, where the cost of ingredient A is $5 per unit and the cost of ingredient B is $10 per unit. The total cost of the blend should not exceed $100. If the company decides to use twice as many units of ingredient A as ingredient B, how many units of each ingredient should they use to minimize the cost while staying within the budget constraints? Let's think step by step and output the final answer within \boxed{}.
user