Answer: 33 math problems.
Step-by-step explanation:
Let x = Number of math problems
y= Number of history problems
According to the question , we have
[tex]3y+6=x\ \ \ \ \ (i)\\\\ x+y=42\ \ \ \ (ii)[/tex]
We can rewrite (i) as [tex]x-3y=6[/tex] (iii)
Now, subtract (iii) from (ii), we get
[tex]y-(-3y)=42-6\\\\\Rightarrow\ y+3y=36\\\\\Rightarrow\ 4y=36\\\\\Rightarrow\ y= \dfrac{36}{4}\\\\\Rightarrow\ y=9[/tex]
Put this in (i), we get
[tex]x=3(9)+6 = 27+6=33[/tex]
Hence, you have to complete 33 math problems.