I assume $(\cdot, \cdot) $ denotes the scalar product. An orthogonal matrix $B$ preserves the scalar product by definition, i.e. $$(Bx,By)=(x,y).$$ Since $B^{-1}$ is also orthogonal, then $$(ABy, By) = (B^{-1}ABy,B^{-1}By)=(B^{-1}ABy,y).$$
I assume $(\cdot, \cdot) $ denotes the scalar product. An orthogonal matrix $B$ preserves the scalar product by definition, i.e. $$(Bx,By)=(x,y).$$ Since $B^{-1}$ is also orthogonal, then $$(ABy, By) = (B^{-1}ABy,B^{-1}By)=(B^{-1}ABy,y).$$