Cubic graphs and the first eigenvalue of a Riemann surface