Concept:The midpoint formula gives the average of the corresponding coordinates of the endpoints.Explanation:For points Q(m,n) and R(n,−4), the midpoint is:(2m+n,2n−4)This equals P(2,m), so we equate coordinates.Equating the x-coordinates:2m+n=2m+n=4…(1)Equating the y-coordinates:2n−4=mn−4=2m…(2)From (2), n=2m+4.Substitute into (1):m+2m+4=43m=0m=0Then n=2(0)+4=4.Answer:m=0 and n=4.