Answer:
It will take 4.5 hours for rick to complete the job.
Step-by-step explanation:
Given:
Time taken by Phil to paint the garage = 12 hours.
It means that for each hour he does =
of the job.
.
Time taken by Rick to paint the garage = 10 hours.
It means that for each hour he does =
of the job
.
If they work together for 3 hours,
Phil does job in 3 hrs = 
Rick does job in 3 hrs = 
.
So in three hours of working together job done = 
.
This means job of the painting entire garage have been done 0.55 of it.
1 - 0.55 = 0.45.
So there is 0.45 job left
At this point Phil quits and Rick presses on by himself. Since he does 1/10 of the garage every hour
Let T represents the time that Rick needs to complete the job after Phil leaves.
Hence, 
Hence it will take rick 4.5 hours to complete the remaining job.
A line through two points A, B can be found by the point-slope form of the formula:
(y-ya)=m(x-xa)............(1)
and
m=(yb-ya)/(xb-xa).......(2)
where A(xa,ya), B(xb,yb) and m is the slope between points A & B.
Substituting
A(xa,ya)=A(1,3)
B(xb,yb)=B(0,2)
From (2)
m=(yb-ya)/(xb-xa)
=(2-3)/(0-1)
=-1/(-1)
=1
Substitute in (1) : (y-ya)=m(x-xa)
y-3=1(x-1)
Distribute and simplify
y=x-1+3=x+2
or
y=x+2 .................(3a) equation required in slope-intercept form
x-y+2=0...............(3b) equation in standard form
If it is a ratio of 1:2:3 then it has to be a 30 60 90 triangle in order for it to be a right triangle