A student got twice as many sums wrong as he got right. If he attempted 48 sums in all, how many did he solve correctly?
Suppose the boy got x sums right and 2x sums wrong. Then,
x + 2x = 48
⇒ 3x = 48
⇒ x = 16.