$12 is the price of the shirt after 20% discount.
So, if we let the original price of the shirt be x, we can say:
What number (x), decreased by 20% gives us 12??
Or,
x - 20% of x = 12
We need to convert the percentage to a decimal by dividing by 100. So, 20/100 = 0.2
Now, we can write

With a little algebra, we can solve for x, the original price. Shown below:

The original price of the shirt
$15