Simplifying
27g + 21h + 12j + 18k
Factor out the Greatest Common Factor (GCF), '3'.
3(9g + 7h + 4j + 6k)
Final result: