We have the following:
PA = Pet allergy = 0.23
nPA = No Pet allergy = 0.77
P = posivite
N = negative
a) per allergy and test positive

The probability is 19.09%
b) pet allergy and test negative

The probability is 3.91%
c) tests positive

The probality is 45%
d) no pet alergy and test negative

The probability is 71.61%