We determine p such that (7x2)3x5=xp. We have the following steps

(7x2)3x5=1(7x2)3x5=1(x27)3x5=1x67x5=x5x67=x417,


which results in p=417.