Given the equations \( a^2 \cdot a^3 = a^x \) and \( b^{x-2} = b^3 \cdot b^{-1} \), find the values of \(a\) and \(x\) that satisfy both equations. Let's think step by step and output the final answer within \boxed{}.
user