AMC 12B 2018 Problem 3

A line with slope 2 intersects a line with slope 6 at the point (40,30). What is the distance between the x-intercepts of these two lines?

Answer Choices
A. 5
B. 10
C. 20
D. 25
E. 50