Let the expression for Quantity A be defined as:
$$A = 3x + 2$$
and the expression for Quantity B be defined as:
$$B = 5 - x$$
Determine the relationship between Quantity A and Quantity B by solving the equation $$A = B$$.