In a small town, two production companies, Company A and Company B, produce widgets. Company A's production can be represented by the equation:
$$ y = 2x + 3 $$
where $y$ is the total number of widgets produced by Company A and $x$ is the number of hours worked. Company B's production can be represented by:
$$ y = -x + 12 $$
where $y$ is the total number of widgets produced by Company B and $x$ is the number of hours worked.
Determine the value of $x$ where the number of widgets produced by both companies is the same, and provide your answer as a decimal.