Answer:
See below for proof.
Explanation:
Begin by using the trigonometric identity:

Given that A + B = π/4, then:

Since tan(π/4) = 1, we can simplify the equation to:

Multiply both sides by (1 - tan A tan B):

Add tan A tan B to both sides of the equation:

Rearrange:

Add 1 to both sides of the equation:

Factor out the common term tan B from the first two terms:

Rewrite as:

Factor out the common term (1 + tan A):

Therefore, we have shown that (1 + tan A)(1 + tan B) = 2 when A + B = π/4.