The ramp will form a triangle with height 2ft and base 6ft.
The length of the ramp will be the hypotenuse of this triangle.
length² = height² + base²
length = √(height² + base²)
length = √(2² + 6²)
length = √(4 + 36)
length = √40
length = 6.3ft
Therefore, the ramp will be 6.3ft long.