Write a expression to represent each situation

Olivia bought 8 bags of fruit at the farmer's market. She put
a apples and b bananas in each bag.