I’m sorry to say that this graph is not correct.
The formula for the graph that you just graphed is y=-x-7. The graph, x=-7 should just be a vertical line going through the point (-7,0).
So the good news is you did get the first point correct, the bad news is that second point is not making the entire graph wrong.
Here’s a trick that always helped me, any question asking me to graph x=(a number) the line will always be vertical, and if the question asked me to graph y=(a number) the line will always be horizontal.
If you have any more questions or feel like this helped at all, please feel free to leave a comment and I’ll get back to you!