Step 1: Finding equations by using given conditions
Let, the required number be x.
Given, one of the other number =−712 and sum of two numbers =38.
According to the question,
x+(−712)=38
⇒x−712=38−−−−−−−−−−(i)
Step 2: Solving equation to get required number
x=38+712
x=3×38×3+7×212×2
[∵LCM of 8 and 12 is 24]
=924+1424=9+1424=2324
Hence, 2324 should be added to −712 to get 38.