[Solution by Dr. Abubacker] Every term added to or subtracted from $x$ or $y$ must have the dimension of length. $[At]=[L]$ and $[t]=[T^{-1}]$, so $[A]=[L]/[T^{-1}]=[LT]$. $\left[\frac tB\right]=[L]$, so $[B]=[T^{-1}]/[L]=[L^{-1}T^{-1}]$. Answer (2).