1:Rewrite the distance function from the chapter 4 titled Fruitful functions so that it takes two Points as parameters instead of four numbers. 2:Add a method reflect_x to Point which returns a new Point, one which is the reflection of the point about the x-axis. The reflect x of Point(3, 4) is 3: Add a method area to the Rectangle class that returns the area of any instance, 4: Write a flip method in the Rectangle class that swaps the width and height of any rectangle instance. 5:0 Write a new method in the Rectangle class to test if a Point falls within the rectangle. For this exercise, assume that a rectangle at (0,0) with width 10 and height 5 has open upper bounds on the width and height, i.e. it stretches in the x direction from [0 to 10), where 0 is included but 10 is excluded, and from 0 to 5) in the y direction. So it does not contain the point (10, 2).