Show that if $G$ is connected and not complete, then $G$ has three vertices $u$, $v$ and $w$ such that $\{ (u, v), (v, w)\} \subseteq A(G)$ and $(u, w) \notin A(G)$.
I have the following: Since $G$ is not complete, we know that there exists vertices $u$ and $w$ that do not have an edge connecting. $G$ is connected, meaning that there is a path for any two vertices, and the shortest path between them would be $v=v_0,v_1,..., v_n=w$ from $v$ to $w$.
I think now we must find the shortest path from u to w. If G were a complete graph, we are done. Since G is not a complete graph, there must be some other path from v to w that is 2 or more long.
Your idea is fine: In a connected graph, we can define the distance $d(u,w)$ between two vertices $u,w$ as the length of the shortest path between them. In a complete graph, all distances are $\le1$, whereas here we have a non-complete graph, which means that some distances $>1$ exist. Among all vertex pairs of distance $>1$ let $(u,w)$ be of minimal distance $d=d(u,w)$. Let $v_0v_1\cdots v_d$ (with $v_0=u$ and $v_d=w$) be a path witnessing this distance. As $d(u,v_{d-1})\le d-1$, we conclude from the minimality that $d-1\le 1$. In other words, $d=2$. Thus with $v:=v_1$, the claim follows.