if R4=Swede, then (R2, R5) may either be (Dane, German) or (German, Dane).
Then P4=Dog.
Let (x, y) be either (2, 5) or (5, 2).
If (Rx, Ry)=(Dane, German)
then Dx=Tea and Yy=Prince.
Necessarily, if we plot out the possibilities for the Cigarette brands: Blue Master and Prince we will see that since Yy=Prince, Yx=Blue master.
Since the one who smokes blue master drinks beer, Dx must be equal to beer.
There is a contradiction since Dx=Tea.
Therefore, R4 cannot be equal to Swede.
Swede must live in House 5 (R5=Swede)
If we plot the possibilities for the Races: Swede, Dane and German, we see that (R5, R2, R4) can only be equal to (Swede, Dane, German)
P5=Dog, D2=Tea, Y4=Prince.
If we plot out the possibilities for the Cigarette brands, we see that
if Y4=Prince, then Blend can either be Y3 or Y2.
But Blend cannot be Y3 since the one who smokes blend lives adjacent to the one who drinks water because if Y3=Blend, then either D2 or D4=Water. But D2=Tea and D4=Coffee.
Blend=Y2
D1=Water
(Y3, Y5)=(Pall Mall, Blue Master)
P3=Bird
P1=Cat
P4=FISH i,e german