Implement the function count_positive_intercept_lines(x, y) which calculates the number of positive integer lines that can intercept both the positive x-axis and y-axis in a Cartesian coordinate system. These lines are considered based on the given positive integers x and y, which represent the distances along the axes.
Functionality Requirements:
The function takes two parameters:
x (int): A positive integer representing the x-coordinate (distance along the x-axis).
y (int): A positive integer representing the y-coordinate (distance along the y-axis).
The function computes the product n = x * y, then determines the number of distinct positive integer lines (intercepts) that can be formed by pairs of integers (a, b) such that 1 <= a <= x and 1 <= b <= y.
The function should return the total count of such intercept lines that can be drawn.
Input/Output Requirements:
Input: Two positive integers x and y where ( 1 \leq x, y \leq 10^6 ).
Output: An integer representing the number of positive intercept lines.
Implementation:
The solution must be implemented in a Python file located at /app/solution.py.