A nutritionist is creating a trail mix by combining almonds and walnuts. Almonds contain 20% protein by weight, and walnuts contain 50% protein by weight. If the mixture contains a total of 300 grams of protein, which equation models this relationship, where is the weight of almonds in grams and is the weight of walnuts in grams?