A gym offers a membership plan that includes a one-time sign-up fee of $25 and a per-session fee of $7. The total cost in dollars after attending sessions is given by the function . If a member's total cost was $81, how many sessions did they attend?