The distance formula is given by:

We are given two points A and B as 
A(1,1) and
B(7,-7)
so we have ,
x1 = 1 , y1=1
x2= 7 and y2=-7
Plugging these in the formula we have:

d=√(36+64)
d=√100
d=10
Answer: The distance between A(1,1) and B(7,-7) is 10
 
        
                    
             
        
        
        
y=1x+6, because the formula is y=mx+b.
 
        
                    
             
        
        
        
I don't want to give you the answer so here is a thorough explanation and an answer if you want it. Set this up as a proportion. Set it up as 5/5=x/12.5. Then multiply 5 by x to get 5x and 12.5 by 5. Once you have this answer, divide it by five to isolate the x. Once you have finished this, you have your answer. 
 
I got the answer 12.5. Make sure you check this so you understand how to solve these kinds of problems.