2024 AMC 12A Problem 25

A graph is symmetric about a line if the graph remains unchanged after reflection in that line. For how many quadruples of integers (a,b,c,d)(a,b,c,d), where ∣a∣,∣b∣,∣c∣,∣d∣≤5|a|,|b|,|c|,|d|\le5 and cc and dd are not both 00, is the graph of
y=ax+bcx+dy=\frac{ax+b}{cx+d}
symmetric about the line y=xy=x?
(A)  1282\text{(A)}\;1282(B)  1292\text{(B)}\;1292(C)  1310\text{(C)}\;1310(D)  1320\text{(D)}\;1320(E)  1330\text{(E)}\;1330