<｜begin▁of▁sentence｜>### Instruction:
Given two rectangles, rect1 with lower left corner at (2, 2) and upper right corner at (4, 4), and rect2 with lower left corner at (3, 3) and upper right corner at (5, 5), how do you calculate their intersection using the 'Rectangle.Rectangle.intersection' method?
### Response:
from some_module import Rectangle

# Define two rectangles
rect1 = Rectangle(2, 2, 4, 4)
rect2 = Rectangle(3, 3, 5, 5)

# Calculate the intersection of the two rectangles
intersection = rect1.intersection(rect2)

# Print the intersection rectangle
corners = intersection.get_corners()
print('Intersection rectangle corners:', corners)
<|EOT|>
