$${0 = mgH - \mu_k (mg\, \cos \theta) \frac{H}{\sin \theta} - \mu_k mgd_2}$$