P(5,4),;Q(−2,4)⇒ base PQ=5−(−2)=7.
Area=21⋅7⋅∣b−4∣=35⇒∣b−4∣=10.
∴b=14 or b=−6.
PQ is horizontal so the altitude from R(a,b) is x=a.
Given orthocenter O(2,514) so a=2.
Slope of QR=4b−4.
Slope of altitude through P(5,4)=−b−44.
Altitude through P:y−4=−b−44(x−5).
Ox=2⇒Oy=4−3(−b−44)=4+b−412.
4+b−412=514⇒b−412=−56⇒b=−6.
∴R(2,−6).
Centroid C(c,d)=(35+(−2)+2,34+4+(−6))=(35,32).
c+2d=35+2⋅32=39=3.
3