Explanation:
25 as binary number is
11001
1×2⁴ + 1×2³ + 0×2² + 0×2¹ + 1×2⁰ = 16 + 8 + 1 = 25
25×2 = 50 = 11001 × 2 = 110010
multiplying a binary number by 2 is the save effect as multiplying a normal decimal number by 10 : all digits move one position to the left, and a 0 is put into the empty right position.
and so, we see
110P = 110010
P = 010
FYI : you normally don't mix binary and decimal numbers. if one of the numbers is binary, then all the others have to be binary too.
so, the problem should have looked like
110P/10 = 11001
110P = 11001×10 = 110010
P = 010