Let be a connected graph of order . Denote the order of a longest path starting at vertex in . In this paper, we prove that if has more than edges, where , , and , then for each vertex in . By this result, we give an alternative proof of a result obtained by P. Wang et al. that if is a 2-connected graph on vertices and with more than edges, where , , and , then each edge of lies on a cycle of order more than .