Given:
The equation of the line is y = ax.
The coordinates are given as,

The objective is to find the value of a using the coordinates.
Step-by-step explanation:
The general formula of a straight line is,

Here, m represents the slope of the straight line and b represents the y-intercept.
Similarly, the general formula to find the value of slope m is,

To find a:
By comparing the given equation with the equation (1),

Consider the given coordinates as,

To find the value of a substitute the given coordinates in equation (2).
![undefined]()