A Unified Representation Framework for Rideshare Marketplace Equilibrium and Efficiency