The p5, like most phones, has a 3.5mm stereo output jack. Does the home theater system have a similar input jack? If so, connect them with a stereo cable with a 3.5mm plug on either end.
Without knowing the model of the home theater system, I can't look up what ports it has.