I am a little confused about this specially when answering arithmetic problems. Help me with this: what does "subtract A to B" mean?
English Language Learners Stack Exchange is a question and answer site for speakers of other languages learning English. It only takes a minute to sign up.Sign up to join this community
I'm not sure where you found this sentence, but it's not correct English.
You add one number to another one (in that case, the order doesn't matter). But you subtract a number (A) from another one (B), which means B – A. Your source used the wrong preposition. See e.g. Lexico for sample sentences.