Using multiple variables to create an outcome

Hi I am reasonably new to MIT and I have come to a problem. I am trying to make it so two variables are inputted and the outcome changes depending on what the variables are. I thought of creating a layout that has all the outcomes and variables on it but I don't know where to start. Could anybody help?
Thank you.

There is a green logical block pallet where you can get the AND block to combine tests on your two variables.

You can add extra branches to the if/then block using its blue mutator button.

Further advice requires more specifics on your tests.
In terms of components you need two textboxes, a button, and a label for the result.

Thank you.

See chapter 18 of the free book App Inventor 2 Book: Create Your Own Android Apps