Concept:Convert both numbers from their given bases to base 10, then solve for q.Explanation:Write 2q35 in expanded base 5 notation.2q35=2×52+q×51+3×50=2×25+5q+3×1=50+5q+3=53+5qWrite 778 in expanded base 8 notation.778=7×81+7×80=7×8+7×1=56+7=63Set the two expressions equal since 2q35=778.53+5q=635q=63−535q=10q=510=2Answer:q=2, which is Option A.