I know this is a pretty simple question, but I do need some help. I have a game where I can craft items for a recipe, and one item is crafted with another item. Ex. It takes 3 of A to make 1 B. And the recipe requires 10 A, and 20 B. What’s an easy formula I can use to make sure I properly maximize my items? In other words, how can I make sure I craft enough B that it’s twice as much as my remaining A?