I'm totally lost and I've got no idea what to search to help find this. Basically I have two inputs [A,B] Where A represents the number 1 and B represents the number 2. I'm trying to make it so when 1 is "on" It turns on a little LED, and when two is "on" it turns a seperate LED on. I've got that, but I want to add an AND gate to make it so when both are on it turns a new LED on and the other two turn off. I've tried using a XOR gate & and gate but it can't differentiate the two signals, [1,2] Hopefully I can finally understand this. I'm currently using Logism to make it easy to see and understand. Thanks.
A Simpler Way?
Given you haven't specified what rail the LEDs are connected to, it is actually possible to implement the solution showed by both @WhatRoughBeast and @RobhercKV5ROB (both are the same circuit effectively), using just three 2-input NAND gates:
Basically the LEDs are wired up to act as inverters - if the output is high, then the LED is off. This allows all the gates to be transformed into NAND gates.
This is also the most optimal way to design it using 7400/4000 series ICs (just one!).
It can also become the most optimal at the transistor level - by stripping away unused parts of the NAND gates, it could me made using just 5 NMOS transistors!