So, the great thing about compound conditionals, is that there are many places in our life, especially places where we have games. We're going to be looking at the game of soccer, and if you're not familiar with soccer, we want to take a few minutes to give you our diagram, and hope you interpret it, or maybe even if you are familiar with soccer. We want to see how we're interpreting this field with our diagram. So, we have two teams playing against each other. We've got the goalie for the red team, is on the left so the defenders of the red team left and that people in their forwards and things that are on the right, and the goalie for the blue team is on the right. Now, showing essentially the goal as a box just to give you some idea. But the end of the field, where we would cross either out of bounds or into a goal is that first line of the negative 210, and the positive 210. Okay. So, those are the edges of the field, if you will. What we're going to have you do is, we'll have you figure out under what conditions of X and Y coordinates, the ball is going to go out of bounds, or it's going to score a goal. Or well, we're going to do various forms better bounds, but we'll talk about later. One of the things you should know is that for this, we're going to simplify it. We want to assume that soccer ball essentially has no width, so that anytime we talk about its coordinate, its centre positions zero, zero. For example, it starts in the center at zero, zero. You don't have to worry about like well how far is it to the edge of the ball because it's just as soon as the edge of the ball crosses over. We're just going to imagine we're just dealing with the center of the ball so that makes it easier. Okay, so let's try a couple of things together to get you warmed up, and then we'll set you guys off on a task yourself. So, let's suppose that with our zero, zero coordinate here at the middle, the soccer ball had a y-coordinate of what? Would it be out of bounds on the side indicated on that top side. So, don't think just about the very minute it gets out of bound. What would be a Boolean expression for all the values of y that the soccer ball could have and the outer bounds up there on the top, right? So, if the y value has a greater value, sorry if the y coordinate of the soccer ball has a value greater than 180, then it will be out of bounds on the top. All right. Let's try another one. How would you describe the condition when the ball out of bounds, but was not on either of the sides? Is on this bottom one, let's just do them, right? That would be in the case where y is less than 180. Okay. So, anytime the y is less than 180, its outer bounds on that side. Now finally, let's do both sides. So, I'm sorry, not both sides, either side. If its out of bounds on either side, what conditions for y would we check to see if that was the case? Right? So, now it could either be that is greater than 180 or that y is less than 180. So, it's the same two conditions we had, but we're saying, there's no way you can be out of bounds on both sides at the same time. Your y-coordinate can't both be 200 and negative 200. But you could be on either side, and the reason you can imagine from a game setting or you might want to have this or as maybe you want to have the same message like side out of bounds, that you would display, when it was out of bounds in either direction, okay? All right. Let's do something a little more complicated, but a lot more fun. What about noticing when somebody scores a goal? So suppose that we want to score a goal, we want to measure if we've scored a goal against the red team, okay? Now, the key thing here again, negative 210 is the edge of the field. The red indicates the top view of the net. But in soccer, you just have to get across that line of the front of the net to be counted as a goal. So, we're just going to talk about the y-coordinates. Okay. What would the y-coordinates of the soccer ball needs to be? Would have to figure out the x ones later. We'll leave that for you. What would the y-coordinates need to be to indicate that we were in a red goal range? Cool. So, it would be that y is going to be less than 60, but it also has to be that y is greater than negative 60. So, this is an and, this allows us to bracket something. Okay. Or is you're either up here or you're done that, you can be in both places. This is saying you have to be in this range and that's what we'll use "and", for okay? So, "or" and "and" pieces these logical operators. I think you've seen them before. Moreover, they make sense logically. But, we are going to have you guys figure among peers out because we think you can do this. So, we're going to have you figure out, and give us the Boolean expressions, the compound Boolean expressions, that describe the x and y coordinates for scoring a goal against the blue team, for example. Then we're also going to have corner kick. So, corner kick is little more complicated. But if you go out of bounds, if a red person on the left side knocks the ball out of bounds on their goal lined area, either above the goal or below the goal, then the blue team gets us corner kick, okay? Same way, when the blue team, if one of their members kicks the ball out across the goal to the x greater than 210, then and as long as it's not in the goal, then we have a red corner kick. So, you guys will have the option to choose what particular situation you want to check for, and share out the Boolean expressions, the compound conditionals, if you were that we would use if we were actually writing a game to play soccer.