how do you find the area with only x
What do you mean? Find the area of which shape? Many different shapes have different formulas. However, you can find the area of a square with 4x because all the sides of a square are equal.