Write an equation and solve for the variable indicated?

9. Ten plus eight times a number a equals eleven times another number d minus six. Solve for a.

10. Three fourths of a number p less two is five sixths of another number r plus five. Solve for r