a: \(xy=\dfrac{\left(x-y\right)^2-x^2-y^2}{-2}=\dfrac{5^2-15}{-2}=\dfrac{10}{-2}=-5\)
\(x^3-y^3=\left(x-y\right)^3+3xy\left(x-y\right)\)
\(=5^3+3\cdot5\cdot\left(-5\right)\)
=125-75=50
b: \(8x^3+y^3=\left(2x+y\right)^3-3\cdot2x\cdot y\left(2x+y\right)\)
\(=3^3-6\cdot23\cdot3\)
=27-18x23
=-387