Harry buys 3 packs of ruled notepads. Each pack has same number of notepads. Stella buys 4 packs of plain notepads. Each pack has same number of notepads. If a represents the number of ruled notepads and b represents the number of plain notepads, write the expression showing the total number of notepads.