I'm assuming that the question's really just asking for the slopes of the straight lines that are both horizontal and vertical, as you wouldn't actually need to graph the rectangle in any way, since you know that a rectangle has two sets of parallel sides with one set of the sides longer than the other. Remember to just use your knowledge of special types of slope to figure this out.