Section 6.1: Structures (continued) Example 1: in-left-side? ; Purpose: To determine whether a point is in the leftmost 150 pixels of the screen. ; Contract : posn ->…