<｜begin▁of▁sentence｜>### Instruction:
As a Medical Laboratory Technologist, you often work in clinical or research laboratories to perform analyses and tests on biological samples, such as blood and urine, to assist in diagnosing medical conditions. In a practical scenario, consider the process of combining two sample containers into a larger container while ensuring that the smallest possible rectangular container can hold both original containers securely. This is similar to using the 'Rectangle.union' method in Python to compute the smallest rectangle that contains two given rectangles defined by their coordinates, width, and height.
### Response:
from rectangle import Rectangle

# Define two rectangles
rect1 = Rectangle(2, 3, 5, 6) # x, y, width, height
rect2 = Rectangle(4, 5, 7, 8)

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

# Print the details of the union rectangle
print(f'Union Rectangle: (x: {union_rect.x}, y: {union_rect.y}, width: {union_rect.width}, height: {union_rect.height})')
<|EOT|>
