A proton is made of two up quarks and one down quark and a neutron is made of two down quarks and one up quark . Protons are composed of two up quarks and one down quark , while a neutron consists of one up quark and two down quarks .