Respuesta :

we know that

total fruits=k

p+a=k

where

a is the number of apples

p is the number of pears

solve for a

a=k-p

therefore

the answer is k-p