Who knows what the two real numbers are? No one knows yet, so for now, just call them "a" and "b." 3 times of the numbers plus 4 times the other is 68. Let's say "3 times a" and "b times 4". The addition of those products will get a sum of 68.
3a + 4b = 68
Since the product of the numbers is 80, that means a times b is 80
ab = 80
We made two equations. See how nice they look next to each other.
3a + 4b = 68
ab = 80
This is called solving for a system of equations. One of the ways to do this is to use substitution. Check this out.
ab = 80
b = 80/a
Because b = 80/a, substitute this in for b in the addition equation.
3a + 4b = 68
3a + 4(80/a) = 68
Now this whole equation is in terms of just one variable, so that will make solving easier. Get a alone to solve for it.
3a + 4(80/a) = 68
3a + 320/a = 68
The second term is a fraction. Like when it comes to adding any other fraction, common denominators is the way to go. The common denominator is a, so 3a is going to need a denominator of a, so it will look like 3a2/a
3a + 320/a = 68
3a2/a + 320/a = 68
Combine the left side into one big fraction like this.
(3a2 + 320)/a = 68
From here, notice there's an a2 term. That means there's probably going to be a quadratic equation that comes out of this. It's easiest to solve those when it's in standard form, which looks like ax2 + bx + c = 0. To get this in standard form, multiply both sides by a to make the fraction not a fraction anymore.
(3a2 + 320)/a = 68
3a2 + 320 = 68a
Again, when solving quadratic equations, one side must be equal to zero, so subtract 68a from both sides.
3a2 - 68a + 320 = 0
The coefficient of the squared term is 3. To factor quadratics when that coefficient is not 1, multiply this with the c term, so multiply (3)(320), which is 960. This means we need to find two numbers that multiply to 960 and add to -68. Those numbers are -48 and -20. Call these our magic numbers. Now write this out.
(3a - 48)(3a - 20) = 0
Those terms of 3a are there because the original equation had a coefficient of 3 in front of the squared term. The -48 and -20 are the two magic numbers.
Look at (3a - 48). If there's a GCF between 3x and 48, divide both terms by that GCF. In this case, that GCF is 3, so divide both of those terms by 3.
(3a - 48)(3a - 20) = 0
(a - 16)(3a - 20) = 0
Based on this equation x = 16 and 20/3. Most likely, your teacher was probably asking for the positive whole number, which is 16, but I'll work with both.
Plug a = 16 into one of the equations way back in the beginning. In this case, I'll use this equation.
ab = 80
16b = 80
b = 5
This means that if a = 16, then b = 5. One of the answers for a was also 20/3. Do the same thing we did.
ab = 80
(20/3)b = 80
b = 12
All in all, if a = 16 then b = 5. If a = 20/3, then b = 12. I hope this helps, and good luck with your math class.