I guess the easiest thing to do is to plug in numbers to see what you can get.
Let's take statement A) The units digit of p^x is 1
So for what values of p and x can the units digit be 1?
If p=3 and x=4, you have 3^4 which is 81 which satisfies this statement. Plug these values back into the equation you get 3^4y which is really 81^y.
So if y = 1 unit get 81^1 which is 81, but if y=0.5, you get 81^0.5 which is equal to 9. This same logic applies to statement B).
You can also see a breakdown if you use negative numbers for x or y, i.e. 81^(-1) has a units digit of 0. (This value is 3^(4*(-1))=3^-4 which has a units digit of 0)
When you take the two statements together, you know p^x units digit is 1 and p^y units digit is 1. This requires a bit more creativity to see if you can create a number with a units digit of 1 that will violate these rules.
If p=1.1, x=2 and y=4 you get the following
A)1.1^2=1.21
B)1.1^4=1.461
and together 1.1^(2*4)=1.1^8 which is 2.14
But if p=3, x=4 and y=4 you get the following
A)3^4=81
B)3^4=81
and together 3^(4*4)=3^16=43,046,721 which has a units digit of 1.
This is a lot easier if there are restrictions on the numbers.