document.write( "Question 1058171: A line intersects the y-axis, the line \"y+=+2x+%2B+2\", and the x-axis at the points A, B, and C respectively. If segment AC has a length of \"4+sqrt%282%29\" units and B lies in the first quadrant and is the midpoint of segment AC, find the equation of the line in slope-intercept form. \n" ); document.write( "
Algebra.Com's Answer #673379 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
Let's assume that the line intersects the x-axis at A:(\"a\",\"0\") and the y-axis at C:(\"0\",\"c\").
\n" ); document.write( "So you the distance is,
\n" ); document.write( "\"%28a-0%29%5E2%2B%280-c%29%5E2=%284sqrt%282%29%29%5E2\"
\n" ); document.write( "\"a%5E2%2Bc%5E2=32\"
\n" ); document.write( "You also know that the midpoint is B and using the equation of the midpoint,
\n" ); document.write( "\"x%5Bb%5D=%28a%2B0%29%2F2=a%2F2\"
\n" ); document.write( "and
\n" ); document.write( "\"y%5Bb%5D=%28b%2B0%29%2F2=c%2F2\"
\n" ); document.write( "Since it's a common point between the line and the line \"y=2x%2B2\", then,
\n" ); document.write( "\"c%2F2=2%28a%2F2%29%2B2\"
\n" ); document.write( "\"c%2F2=a%2B2\"
\n" ); document.write( "\"c=2a%2B4\"
\n" ); document.write( "Substituting above,
\n" ); document.write( "\"a%5E2%2B%282a%2B4%29%5E2=32\"
\n" ); document.write( "\"a%5E2%2B4a%5E2%2B16a%2B16=32\"
\n" ); document.write( "\"5a%5E2%2B16a-16=0\"
\n" ); document.write( "\"%28a%2B4%29%285a-4%29=0\"
\n" ); document.write( "Since you only allow solutions in Q1, only use the positive solution.
\n" ); document.write( "\"5a-4=0\"
\n" ); document.write( "\"a=4%2F5\"
\n" ); document.write( "then,
\n" ); document.write( "\"c=2%284%2F5%29%2B20%2F5\"
\n" ); document.write( "\"c=28%2F5\"
\n" ); document.write( "You can then calculate the slope of the line,
\n" ); document.write( "\"m=%28c-0%29%2F%280-a%29=%2828%2F5%29%2F%28-4%2F5%29=-7\"
\n" ); document.write( "So,
\n" ); document.write( "\"highlight_green%28y=-7x%2B28%2F5%29\"
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "
\n" ); document.write( "
\n" );