Let $A$ be a commutative ring, $x$ an indeterminate over $A$, $B$ be a commutative, associative and unital $A$-algebra.
It's $B\otimes_AA[x]\cong B[x]$ a polynomial algebra over $B$ in $x$?
The answer is yes if:
My attempt for the general case. Let $B\to B\otimes_AA[x]$ be the canonical ring homomorphism. Let $C$ be a $B$-algebra and $c\in C$. There exists one and only one $A$-algebra homomorphism \begin{align} &A[x]\to C& &p\mapsto p(c) \end{align} The composition $B\otimes_AA[x]\to B\otimes_A C$ with the canonical $B\otimes_AC\to C$ gives the ring homomorphism \begin{align} &\varphi:B\otimes_AA[x]\to C& &b\otimes p\mapsto bp(c) \end{align} which makes the following diagram commutative
and sends $1\otimes x\mapsto c$.
Conversely, let $\varphi:B\otimes_AA[x]\to C$ be a ring homomorphism making the diagram commutative and sending $1\otimes x\mapsto c$. By composing with the canonical ring homomorphism $A[x]\to B\otimes_AA[x]$ we get $\varphi(1\otimes p)=p(c)$, while by composing with the canonical $B\to B\otimes_AA[x]$ we get $\varphi(b\otimes 1)=b1_C$. Consequently, \begin{align} \varphi(b\otimes p) &=\varphi(b\otimes 1)\varphi(1\otimes p)\\ &=bp(c) \end{align} thus proving uniqueness.
Other proof by abstract nonsense are appreciated.