When you write queries in the sense that you want to get data, indexes are of no interest. When you find that the query is slow, that's when you start think about indexes.
You query would be a simple join bteween the three tables, adding a WHERE clause for the two conditions. I leave it as an exercise to you to actually write the queries.
And for the future: Don't post code as images. We can't copy and paste from images. Please always post code as text.