To find how many hours, \( h \), Gabby worked yesterday, we need to understand that her total earnings of $112 consist of her regular pay plus tips. She received $34 in tips, and the rest of her earnings came from her hourly wage of $12 per hour.
The amount Gabby earned from her regular pay can be expressed as \( 12h \), where \( h \) is the number of hours worked. Therefore, her total earnings can be represented by the equation:
\[ 12h + 34 = 112 \]
So, the correct equation to use to find how many hours Gabby worked yesterday is:
12h + 34 = 112