In this example I used blue and brown eyes. Brown eyes are a dominant trait and are represented by a big B while blue eyes are recessive and represented by a little b. If an offspring gets a B from the father and a b from the mother the offspring will have brown eyes.
Hope this helps!!