we have

Complete the square. Remember to balance the equation by adding the same constants to each side


Rewrite as perfect squares


therefore
the answer is

15 - 5
14 - 5
13 - 5
12 - 5
11 - 5
10 - 5
9 - 5
8 - 5
7 - 5
6 - 5
5 - 5
I’m not sure if this was the answer you were looking for but I hoped it helped
Answer:
1.07 hours
Step-by-step explanation:
14 miles = 1 hour
15 miles = x hours
Equal these two together
14 mi/1hr = 15 mi/xhr
Cross multiply
14 mi × x hr = 1 hr × 15 mi
I will stop using the units for now so it won't be as confusing
14x = 15
Divide both sides by 14 to isolate the variable
14x ÷ 14 = 15 ÷ 14
x = 1.07... hours
I will be using the language C++. Given the problem specification, there are an large variety of solving the problem, ranging from simple addition, to more complicated bit testing and selection. But since the problem isn't exactly high performance or practical, I'll use simple addition. For a recursive function, you need to create a condition that will prevent further recursion, I'll use the condition of multiplying by 0. Also, you need to define what your recursion is.
To wit, consider the following math expression
f(m,k) = 0 if m = 0, otherwise f(m-1,k) + k
If you calculate f(0,k), you'll get 0 which is exactly what 0 * k is.
If you calculate f(1,k), you'll get 0 + k, which is exactly what 1 * k is.
So here's the function
int product(int m, int k)
{
if (m == 0) return 0;
return product(m-1,k) + k;
}