TLDR: Your option A is correct in result.
The US income tax is nominally defined in IRC section 1 as a series of mathematical computations -- so many % of certain amounts of income -- and this is how it is described in most IRS publications and practically all comments and analysis by others. In particular it is used by the IRS resources used within a tax year to estimate or predict tax -- Form 1040-ES and instructions and Publications 505 and 15-T (formerly 15 and 51), plus Form 1040-C and instructions which is a 'rough draft' tax return required for some departing aliens.
Using (few) needed bits from form 1040 that don't vary from year to year and the computation specified by 2024 pub 505 worksheet 2-5 but putting the amounts at the left instead of the right (so it's MUCH easier to line them up):
54600 wages (40000 + standard deduction 14600 for nondependent single nonelderly/disabled)
14300 dividends (7150 qualified, 7150 unqualified)
68900 gross income and AGI (no QBI, no schedule 1 part 2 e.g. IRA, HSA, student loan interest ...)
14600 standard deduction
54300 taxable income (line 1)
7150 preferred-rate income (lines 2,4,9)
47150 non-preferred-rate income (line 10)
47025 preferred-0% end (line 11) (note not same as ordinary-12% end)
47025 preferred-0% skipped by ordinary (line 12)
0 preferred income in 0% bracket (line 15)
47150 lines 13a,13c,14
7150 lower of preferred or total (line 16) less line 15 (line 18)
7150 preferred-15% limit (line 20 discarding line 19 less line 14 and 15 giving line 22)
7150 preferred-15% amount (line 23)
The only applicable preferred-rate tax is 15% of line 23 = 1072.50 (line 24)
The ordinary-rate tax for 47150 on line 14 is NOMINALLY 10% of the first 11600 then 12% of the rest = 5426.00 (line 37)
Total is 6498.50 (line 38) (although most people use the dollar-rounding option making this 6499)
(If the ordinary-rate schedule applied to line 1 combined income were less it would be substituted, but it isn't.)
If no dividends (either kind) were present, ordinary-rate tax on 54600 wages
minus 14600 standard deduction = 40000 taxable income would be 4568.
So the delta tax for the dividends (before rounding) is 1930.50 or 858+1072.50
ADDED: but when you go to actually file a return on 1040 (now including 1040-SR, formerly including 1040-A and 1040-EZ, or the 'effectively connected' part of 1040-NR) as Gomer Pyle used to say "surprise! surprise! surprise!" you don't actually use the computations from section 1. IRC section 3 states that for taxable income up to a limit "In lieu of the tax imposed by section 1" you pay "a tax determined under tables ... prescribed by the Secretary ... on the basis of the rates prescribed by section 1" (emphasis added).
Concretely, for taxable income subject to ordinary rates i.e. 1(a)-(e)+(f) then 1(i) now 1(j)(2)+(3) up to $100k the tables published in the 1040 instructions: (1) divide the income into intervals of mostly $50, (2) compute the tax according to section 1 on the midpoint of each interval, (3) round that computed tax to a whole dollar (whether or not you round other amounts under IRC 6102), and (4) use that result as tax for any income in the interval. As a result your actual tax may be a few dollars less or more than the amount stated by section 1. But such tables are NOT used for preferred-rate income up to $100k even though that is part of "the tax imposed by section 1" on such income; preferred-rate tax uses the section 1 computations always.
I'm sure this method (precomputed tables) was adopted long ago, when nearly all tax returns were prepared by hand and many by people with limited education who were likely to make errors in complicated computations. Nowadays practically all returns are prepared on computers (even if still paper-filed for various reasons) and this is a relic. But since the tables are only in the 1040 instructions published when filing season begins -- usually Jan. of following year -- they cannot be used by the in-year products.
For the specific case you asked and I showed above -- assuming they don't suddenly change this year the practice they've used for the tables for my adult lifetime -- the tax computation with dividends changes to 5423+1072.50 and without to 4565, so the delta remains 858+1072.50=1930.50 even though either actual tax is slightly different.
Also compare (my) In what order are Short Term Capital Losses applied when dealing with Municipal Bond Interest, Qualified Dividends, and Ordinary Income? which almost addresses this.