To solve for the value of p that makes the piecewise function continuous, first look at the domain restrictions to see that the functions need to meet when x=3. Then set the two functions equal to each other and plug x=3 into the equations to solve for p. Doing this reveals that when p=1/3, the functions will meet at the same y-coordinate and the piecewise function will be continuous.