Let k be the quotient, when the number is divided by 28,
we have dividend=divisor*quotient+remainder
then, Number = k×28+16
The number can also be expressed as ⇒k×4×7+14+2
So when it is divided by 7, remainder is ((k×4×7) %7=0) +(14%7=0) + (2%7=2) i.e. 2