Each basket of peaches has w red peaches and x green peaches. If there are y such baskets How many peaches are in the baskets altogether?
There are w*y = 285 red peaches and x*y = 60 green peaches. 

In total, there are 285 + 60 = 345 peaches.