Final answer:
The equation of a line with a y-intercept of 2 and an x-intercept of 4 is y = (-1/2)x + 2.
Step-by-step explanation:
The equation of a line with a y-intercept of 2 and an x-intercept of 4 can be found using the slope-intercept form of the equation, y = mx + b. In this equation, m represents the slope and b represents the y-intercept.
- Find the slope, which is the change in y divided by the change in x. Since the line passes through the points (0, 2) and (4, 0), the rise is -2 and the run is 4. Therefore, the slope, m, is -2/4, which simplifies to -1/2.
- Substitute the slope and the y-intercept into the equation. The y-intercept is 2, so the equation becomes y = (-1/2)x + 2.