Let the required positive number is x.
The square of the number is

Now, we have been given that square of a positive number decreased by twice the number. It means we have

Now, it is equal to 48. Hence, we have

The number is positive, Hence, we have

Therefore, the required number is 8