a/b=2
分式分子分母同除以b²
(a²-ab+3b²)/(a²+ab+6b²)
=[(a/b)²-(a/b)+3]/[(a/b)²+(a/b)+6]
=(2²-2+3)/(2²+2+6)
=5/12