An integer N (0 < N ≤ 30), representing some quantity or size.
N tuples, each containing 4 integers (x1, y1, x2, y2), where each integer is between -10000 and 10000.
A tuple (Ax, Ay, Bx, By), where each integer is between -10000 and 10000.

### Example Input:

```
2
2 5 5 9
6 1 9 5
1 5 10 5
```

### Function Signature:
Write a function f(inputs) that takes in the input.
def f(inputs: List[Tuple[int, List[Tuple[int, int, int, int]], Tuple[int, int, int, int]]]):
    '''
    inputs: a list of tuples, where each tuple contains:
        - an integer
        - a list of tuples, each containing four integers
        - a tuple containing four integers
    '''