Answer is: 3,94 of hydrogen gas.
Chemical reaction: 2K + 2HBr → 2KBr + H₂.
n(K) = 9,87 mol.
n(H₂) = ?.
from reaction: n(K) : n(H₂) = 2 : 1.
9,87 mol : n(H₂) = 2 : 1
n(H₂) = 4,935 mol for 100% yield of reaction
n(H₂) = 4,935 · 0,798 = 3,94 mol for 78,9 % yield of reaction.
n - amount of substance