Step 1: Use the property of symmetric matrices.
Since \(A\) and \(B\) are symmetric matrices, we have
\[
A^T=A
\]
and
\[
B^T=B
\]
Given
\[
X=AB+BA
\]
Taking transpose on both sides,
\[
X^T=(AB+BA)^T
\]
Using
\[
(AB)^T=B^TA^T,
\]
we get
\[
X^T=B^TA^T+A^TB^T
\]
Since \(A^T=A\) and \(B^T=B\),
\[
X^T=BA+AB
\]
Hence,
\[
X^T=X
\]
Therefore, \(X\) is symmetric.
Step 2: Find the transpose of \(Y\).
Given
\[
Y=AB-BA
\]
Taking transpose,
\[
Y^T=(AB-BA)^T
\]
So,
\[
Y^T=B^TA^T-A^TB^T
\]
Using symmetry of \(A\) and \(B\),
\[
Y^T=BA-AB
\]
Thus,
\[
Y^T=-(AB-BA)
\]
Hence,
\[
Y^T=-Y
\]
Therefore, \(Y\) is skew-symmetric.
Step 3: Find \((XY)^T\).
Using the transpose property,
\[
(XY)^T=Y^TX^T
\]
Since
\[
Y^T=-Y
\]
and
\[
X^T=X,
\]
we get
\[
(XY)^T=(-Y)(X)
\]
Therefore,
\[
(XY)^T=-YX
\]
Step 4: Final conclusion.
Hence,
\[
\boxed{(XY)^T=-YX}
\]