For your question as stated, simply substituting the values of the coordinates is sufficient. However, you should find out if your instructor or the instructions in your text require your answer to be in some particular form such as slope-intercept or standard form. In such case, you will need to manipulate the results of the substitution in order to arrange your equation correctly.