Let X and Y be the digits.
If a two-digit number is written XY, then its value is 10x+y.
When the digits of the number are interchanged, it's YX, and its value is 10y+x.
The sum of the digits is 12.
The number formed by interchaning the digits is 54 more than the original number.

The digits X and Y are 3 and 9, so the original number is 39.
Since the limit becomes the undetermined form

it means that both polynomials have a root at
. So, we can fact both numerator and denominator:


So, the fraction becomes

Now, as x approaches 1, you have no problems anymore:

8.5 feet(12 inches per foot)= 102 inches total
There are 102 inches in 8.5 feet
<span><span><span>Let the original number be "x".
(x-10)/4 = 2
x-10 = 8
x = 18 (original number of pieces of candy.)</span></span></span>