Answer:
There were 3082 peaches.
Explanation:
This question can be solved using a system of equations.
I am going to say that:
x is the number of peaches.
y is the number of apples.
There were 5636 apples and peaches in the farm.
This means that

There were 528 more peaches than apples.
So, 528 less apples that peaches, which means that:

Replacing in the first equation:





There were 3082 peaches.