Batteries are sold in boxes and packets

Each packet contains 8 batteries
Each box contains 25 batteries

Jonathon buys p packets of batteries and b boxes of batteries
write down an expression of the terms p and b for the total number of batteries bought